#pragma once

#include "../_inc_app/CtrlCheck.h"

// CWndTab

class CWndTab : public CWnd
{
	DECLARE_DYNAMIC(CWndTab)

private:
	CToolTipCtrl	m_ToolTipCtrl;

	CCtrlCheck		m_chkTab[2];

	CStringArray m_sarrText;

	void LoadText();

public:
	CWndTab();
	virtual ~CWndTab();

	void SetTab(int nIndex);
	void RefreshLang();

protected:
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg long OnCtlMessage(UINT wParam, LONG lParam);
	DECLARE_MESSAGE_MAP()

public:	
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
};


